#include "Wifi.h"




//开Wifi
void Wifi_ON(void)
{
	Uart1Send(IR_VL_WiFi_ON_Cmd,MyStrlen(IR_VL_WiFi_ON_Cmd));
}

//关wifi
void Wifi_OFF(void)
{
	Uart1Send(IR_VL_WiFi_OFF_Cmd,MyStrlen(IR_VL_WiFi_OFF_Cmd));
}
#if Black_Board
//开录像
void Rec_ON(void)
{
	Uart1Send(IR_VL_DVR_ON_Cmd,MyStrlen(IR_VL_DVR_ON_Cmd));
}

//关录像
void Rec_OFF(void)
{
	Uart1Send(IR_VL_DVR_OFF_Cmd,MyStrlen(IR_VL_DVR_OFF_Cmd));
}

//拍照
void TakePhoto(void)
{
	Uart1Send(WifiTakephoto_Cmd,MyStrlen(WifiTakephoto_Cmd));
}
#elif Green_Board
//开录像
void Rec_ON(void)
{
	Uart1Send(Start_Stop_Recording_1718_Cmd,MyStrlen(Start_Stop_Recording_1718_Cmd));
}

//关录像
void Rec_OFF(void)
{
	Uart1Send(Stop_Recording_1718_Cmd,MyStrlen(Stop_Recording_1718_Cmd));
}

//拍照
void TakePhoto(void)
{
	Uart1Send(Take_Photo_1718_Cmd,MyStrlen(Take_Photo_1718_Cmd));
}

#endif